package com.hy.erp.inventory.service.interfaces;

import java.util.List ;

import javax.ejb.Local ;

import com.hy.enterprise.framework.service.business.IBusinessService;
import com.hy.erp.inventory.extjs.gxt.ui.client.data.BaseModel;
import com.hy.erp.inventory.pojo.interfaces.IDepot;
import com.hy.erp.inventory.service.DepotService;
import com.hy.erp.inventory.vsoft.libra.enterprise.framework.persistence.entity.AbstractPersistentEntity;
import com.hy.framework.lang.annotation.ImplementsBy;

/**
 * 
 * <ul>
 * <li>开发作者：李冰</li>
 * <li>设计日期：2010-10-12；时间：下午04:40:57</li>
 * <li>类型名称：IdepotService</li>
 * <li>设计目的：</li>
 * </ul>
 * <ul>
 * <b>修订编号：</b>
 * <li>修订日期：</li>
 * <li>修订作者：</li>
 * <li>修订原因：</li>
 * <li>修订内容：</li>
 * </ul>
 */@ Local
 @ ImplementsBy ( DepotService .class ) 
public interface IdepotDao extends IBusinessService < IDepot >{
	public boolean addDepot (
	                 			IDepot depot );
	public String [] addDepot (
	                 			Object [] depot );
	public String [] modifyDepot (
	                 			Object [] depot );



	                 public boolean modifyDepot (
IDepot depot);
	                 public Integer removeDepot (
	                                 String [ ] depotIds ) ;
	                 
	                 
	                 
	                 public List < IDepot > getAllDepot();
	                 public List < IDepot > getdepotByIds (
	               										String [ ] Ids );

	             	public  IDepot  getDepotById(
	             													String  id );
	             	public  IDepot  getDepotById(
	             			AbstractPersistentEntity  baseModel );
	                 
	                 
	                 }

